import request from '@/utils/request'


export function getCheckData(taskViewId) {
  return request({
    url: '/task/check/getCheckData/' + taskViewId,
    method: 'get'
  })
}

export function submitCheckData(data) {
  return request({
    url: '/task/check/submitCheckData',
    method: 'put',
    data: data
  })
}

export function uploadBase64(data) {
  return request({
    url: '/common/uploadBase64',
    method: 'post',
    data: data
  })
}

export function uploadImage(data) {
  return request({
    url: '/common/upload',
    method: 'post',
    data: data
  })
}

